package spring.service;

/**
 * 自定义Bean处理器接口
 */
public interface MyBeanPostProcessor {
    /**
     * Bean初始化前
     */
    Object postProcessBeforeInitialization(Object bean, String beanName);

    /**
     * Bean初始化后
     */
    Object postProcessAfterInitialization(Object bean, String beanName);

    /**
     * AOP处理
     */
    Object aopProcess(Object bean, String beanName);
}
